let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n81,
                    i =
                    (this && this.__extends) ||
                    ((_n81 = function n(t, e) {
                            return (_n81 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n81(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.DieEffect = void 0);
                var r = t('AbsActor'),
                    a = t('PoolMrg'),
                    s = (function(t) {
                        function e() {
                            var e = t.call(this) || this;
                            return (
                                e.loadModel('Prefab/Effect/dieEffect'),
                                (e.poolKey = 'dieEffect'),
                                e
                            );
                        }
                        return (
                            i(e, t),
                            (e.get = function() {
                                return a.PoolMrg.get('dieEffect');
                            }),
                            (e.prototype.init = function() {
                                this.model &&
                                    (this.playAnim('animation', 1, !0), (this._time = 0.5));
                            }),
                            (e.prototype.onInitModel = function(e) {
                                t.prototype.onInitModel.call(this, e),
                                    this.playAnim('animation', -1, !0),
                                    (this._time = 0.5);
                            }),
                            (e.prototype.onAnimLoopCompleteHandler = function() {}),
                            (e.prototype.onUpdate = function(e) {
                                t.prototype.onUpdate.call(this, e),
                                    this._time > 0 &&
                                    ((this._time -= e),
                                        this._time <= 0 &&
                                        (this.scene ?
                                            this.scene.removeEffect(this) :
                                            ((this.entity.parent = null),
                                                a.PoolMrg.put(this.poolKey, this)),
                                            (this._time = 999999)));
                            }),
                            e
                        );
                    })(r.AbsActor);
                (o.DieEffect = s), console.log("end");
            module.exports =  e.exports;